var log = console.log;
//CPU架构信息
log("architecture:", process.arch);

//操作系统
log("platform: %s\n", process.platform);

//进程id
log("process id:", process.pid);

//NodeJS可执行文件路径
log("exePath: %s\n", process.execPath);

//获取内存使用情况
log('rss:', process.memoryUsage().rss);
log('heapTotal:', process.memoryUsage().heapTotal);
log('heapUsed:', process.memoryUsage().heapUsed);
log('external: %s\n', process.memoryUsage().external);